<%@page import="cn.com.common.ui.PageTagHelper"%>
<%@page import="cn.com.common.base.bean.PageBean"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
%>
<script type="text/javascript" src="<%=path %>/resources/js/common.js"></script>
<script type="text/javascript" src="<%=path %>/resources/js/jquery-1.7.1.js"></script>

<script type="text/javascript">
	var path = "<%=path%>";
	var ajaxR = "_r=a&tmp="+ getRandom();
	var DEFAULT_VIEWSIZE = <%=PageTagHelper.DEFAULT_VIEWSIZE%>;
	function getRandom(){
		return Math.round(Math.random()*100000);
	}
	
	function ajaxSubmitFail(msg){
		alert(msg);
	}
	
	function getAjaxR(){
		return "_r=a&tmp="+ Math.round(Math.random()*100000);
	}
</script>